package com.andcard.util;

public class Reference {

	public final static String TAG = "AndCard";
	public final static String DATE_FORMAT_ISO = "yyyy-MM-dd";
	// 0 to 1000 alert message
	public final static int MAX_DIALOG_ALERT = 1000;
	
	public final static int ALERT_NO_DATABASE_PATH = 0;
	public final static int ALERT_NO_VALID_DATABASE_PATH = 1;
	public final static int ALERT_DATABASE_CREATED = 2;
	public final static int ALERT_NO_DATABASE_CREATED = 3;
	public final static int ALERT_NO_DATABASE_OPEN = 4;
	public final static int ALERT_DATABASE_READ_ONLY = 5;
	public final static int ALERT_NO_IMPORT_FILE = 6;
	public final static int ALERT_NO_VALID_IMPORT_FILE = 7;
	public final static int ALERT_NO_VALID_SEPARATOR = 8;
	public final static int ALERT_NO_IMPORT = 9;
	public final static int ALERT_DATABASE_LOADED = 10;
	public final static int ALERT_NO_DATABASE_LOADED = 11;
	public final static int ALERT_ALL_CARD_IN_READ_ONLY_MODE = 12;
	public final static int ALERT_NO_CARD_STATUS_UPDATED = 13;
	public final static int ALERT_NO_CARDS = 14;
	public final static int ALERT_END_OF_CARDS = 15;
	public final static int ALERT_NO_DATABASE_STATS = 16;
	public final static int ALERT_NO_CARD = 17;
	public final static int ALERT_NO_UPDATE_DATA = 18;
	public final static int ALERT_KO_UPDATE = 19;
	public final static int ALERT_OK_UPDATE = 20;
	public final static int ALERT_NO_INSERT_DATA = 21;
	public final static int ALERT_KO_INSERT = 22;
	public final static int ALERT_OK_INSERT = 23;
	public final static int ALERT_PATH_DATABASE_EXISTS = 24;
	public final static int ALERT_OK_DELETE = 25;
	public final static int ALERT_KO_DELETE = 26;
	public final static int ALERT_NO_CHECK_ON_CREATE = 27;
	
	public final static int ALERT_ACTION_DELETE_CARD = 1000;
	
	
	// fields id
	public final static int COL_ID = 0;
	public final static int COL_QUESTION = 1;
	public final static int COL_ANSWER = 2;
	public final static int COL_NEXT_DATE = 3;
	public final static int COL_ITERATION = 4;
	public final static int COL_OK_ANSWER = 5;
	public final static int COL_KO_ANSWER = 6;
	public final static int COL_LAST_ANSWER = 7;

	
	public final static String[] ALERT_MESSAGES = new String[]{
		"No database path",
		"No valid database path",
		"Database created",
		"Database not created",
		"No database open",
		"Database read only",
		"No import file",
		"No valid import file",
		"No valid separator",
		"Error in import file",
		"Database loaded",
		"Database not loaded",
		"All card in read only mode!",
		"No card status updated",
		"No cards",
		"End of cards",
		"No database stats",
		"No card",
		"No question or answer",
		"No record updated",
		"Record Updated",
		"No question or answer",
		"No record isnerted",
		"Record inserted",
		"Path already exists",
		"Card deleted",
		"No card deleted",
		"Disable check button on create"
	};
	
	public final static String[] ALERT_ACTION_MESSAGES = new String[]{
		"Delete this card?"
	};
	
}
